package com.junlong0716.enjoylearning.manager

import android.content.Context
import android.widget.ImageView
import com.htxcsoft.corelibrary.glide.GlideUtils
import com.youth.banner.loader.ImageLoader

/**
 *@author: 巴黎没有摩天轮Li
 *@description:
 *@date: Created in 下午11:06 2018/4/21
 *@modified by:
 */
class GlideBannerImageLoader : ImageLoader(){
    override fun displayImage(context: Context?, path: Any?, imageView: ImageView?) {
        imageView!!.scaleType = ImageView.ScaleType.FIT_XY

        GlideUtils.showImage(context!!,path,imageView!!)
    }
}